package com.syg.configuration;

import com.syg.util.SpringContextHelper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author syg
 *
 */
@Configuration
public class SpringContextHelperConfig {

    private static final Logger log = LoggerFactory.getLogger(SpringContextHelperConfig.class);

    @Bean
    public SpringContextHelper springContextHelper(ApplicationContext applicationContext) {
        SpringContextHelper helper = new SpringContextHelper();
        log.debug("^_^SpringContextHelper加载成功^_^");
        return helper;
    }
}
